home *** CD-ROM | disk | FTP | other *** search
- property meSprite
- global gmObject
-
- on beginSprite me
- meSprite = sprite(me.spriteNum)
- gmObject.kidSprite = meSprite
- meSprite.static = 1
- end
-
- on exitFrame me
- if meSprite.member = member("normal", 1) then
- if meSprite.frame <> gmObject.happiness then
- meSprite.gotoFrame(gmObject.happiness)
- end if
- end if
- end
-
- on halleluja me
- go("halleluja")
- end
-